package com.financing.wap.service;


import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.DstMemberInfoDTO;
import com.financing.wap.dto.DstVirtualGoodsDTO;

/**
 * dst_member_info  
 * 会员信息表 业务访问层接口
 * @author huqiyun
 *
 */
public interface IDstMemberInfoService {

 	public int insert(DstMemberInfoDTO dstMemberInfo) throws SQLException;
    
    public void update(DstMemberInfoDTO dstMemberInfo) throws SQLException;
   
    public void updateForce(DstMemberInfoDTO dstMemberInfo) throws SQLException;
   
    public void delete(Integer id) throws SQLException;
	
    public List<DstMemberInfoDTO> queryList(DstMemberInfoDTO dstMemberInfo)throws SQLException;
    
    public int queryListCount(DstMemberInfoDTO dstMemberInfo) throws SQLException;
   
    public DstMemberInfoDTO loadById(Integer id) throws SQLException;
    
    public DstMemberInfoDTO queryListGetFirst(DstMemberInfoDTO dstMemberInfo)throws SQLException;

 	public void createMember(String userOpenId) throws SQLException;

    public void exchange(DstMemberInfoDTO dstMemberInfo, DstVirtualGoodsDTO dstVirtualGoods,Map<String,String> map) throws Exception;
}
